.class Lcom/waiqin365/lightapp/product/w;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/w;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 5

    const/4 v4, 0x1

    const/4 v3, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/w;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;

    iget-object v2, v2, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-le v2, v1, :cond_0

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/w;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;

    iget-object v2, v2, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a:Ljava/util/List;

    invoke-interface {v0, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    invoke-interface {v2, v3}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_0

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/w;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;

    iget-object v2, v2, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a:Ljava/util/List;

    invoke-interface {v2, v1}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/w;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;

    iget-object v2, v2, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->a:Ljava/util/List;

    invoke-interface {v0, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/i;

    invoke-interface {v2, v1, v0}, Ljava/util/List;->add(ILjava/lang/Object;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/w;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->d(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/w;->a:Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;->e(Lcom/waiqin365/lightapp/product/ProductDetailActivityNew;)V

    :cond_0
    return-void
.end method
